package cn.cpf.demo.starter.controller;

import com.github.cosycode.common.ext.bean.Record;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

import javax.annotation.PostConstruct;

/**
 * <b>Description : </b>
 * <p>
 * <b>created in </b> 2021/6/3
 *
 * @author CPF
 * @since 1.0
 **/
@Component
public class TestBean {

    @Autowired
    public Record dataBean;

    @PostConstruct
    public void test() {
        System.out.println("kkkdfl");
        System.out.println(dataBean);
    }

}
